//
//  LCToolbar.m
//  stone-story
//
//  Created by dodo liu on 12-9-29.
//  Copyright (c) 2012年 liu dodo. All rights reserved.
//

#import "LCToolbar.h"

@implementation LCToolbar


- (id)initWithFrame:(CGRect)aRect {
    if ((self = [super initWithFrame:aRect])) {
        self.opaque = NO;
        self.backgroundColor = [UIColor clearColor];
        self.clearsContextBeforeDrawing = YES;
    }
    return self;
}
- (void)drawRect:(CGRect)rect {
    // do nothing
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.

*/
/* 当要换成有背景图时就用下面两个
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
- (void)drawRect:(CGRect)rect
{
    // Drawing code
    CGContextRef c = UIGraphicsGetCurrentContext();
    UIImage *image = [UIImage imageNamed:@"fish.png"];
    CGContextDrawImage(c, rect, image.CGImage);
}
 */
@end
